<ng-container *ngFor="let menu of menus">
  <li nz-menu-item *ngIf="!(menu.childs&&menu.childs.length>0)"><a routerLink="{{menu.url}}">{{menu.name}}</a>
  </li>
  <li nz-submenu *ngIf="menu.childs&&menu.childs.length>0">
    <span title><i class="anticon anticon-team"></i><span class="nav-text">{{menu.name}}</span></span>
    <ul>
      <app-recursive-menu [menus]="menu.childs"></app-recursive-menu>
    </ul>
  </li>
</ng-container>
